package org.esgl3d;

import org.esgl3d.rendering.Texture;
import org.esgl3d.rendering.VertexContainer;

public class Mesh {
	public enum Format {
		Triangle,
		TriangleStrip,
	}
	private VertexContainer vertices;
	private int numberOfVertices;
	private Format meshFormat;
	private Texture texture = null;
	
	public int getNumberOfVertices() {
		return numberOfVertices;
	}
	
	public VertexContainer getVertices() {
		return vertices;
	}
	
	public Format getFormat() {
		return meshFormat;
	}
	
	public void setVertices(VertexContainer value, Format setMeshFormat) {
		vertices = value;
		numberOfVertices = value.getNumberOfVertices();
		meshFormat = setMeshFormat;
	}
	
	public Texture getTexture() {
		return texture;
	}
	
	public void setTexture(Texture value) {
		texture = value;
	}

	
}
